﻿<!--//=============================================================
    // Copyright (C) 2015 福流网络
    // 作 者：钟星星
    // 日 期：2016-01-09
    // 描 述: 华为每日跟踪记录表自定义查询
    // 版 本：1.00
    // 修改历史纪录
    // 版 本  修改时间      修改人            修改内容
    //=============================================================-->

<div id="QueryItem">

    <div class="col1" id="query_item_bus_no"><table class="query_table"><tr><td class="label">核销单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="bus_no" class="mini-textbox" style="width:100%;" data="bus_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_apply_code"><table class="query_table"><tr><td class="label">报关单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="apply_code" class="mini-textbox" style="width:100%;" data="apply_code_data" /></td></tr></table></div>
 <!--   <div class="col1" id="query_item_start_country_name"><table class="query_table"><tr><td class="label" style="width: 150px">出口国</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="start_country_name" class="mini-textbox" style="width:100%;" data="start_country_name_data" /></td></tr></table></div>-->
    <div class="col1" id="query_item_start_country_name">
        <table class="query_table">
            <tr>
                <td class="label">出口国</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="autstart_country_no" name="start_country_no" class="mini-autocomplete" style="width:100%;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_yundiguo'&searchField=name,value&orderbyfield=value" oncloseclick="onCloseClick">

                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    
    <div class="col1" id="query_item_goods_name"><table class="query_table"><tr><td class="label">货物名称</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="goods_name" class="mini-textbox" style="width:100%;" data="goods_name_data" /></td></tr></table></div>
    
    
    <div class="col1" id="query_item_customer_name">
        <table class="query_table">
            <tr>
                <td class="label">客户</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="customer_name" name="customer_name" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="short" valuefield="short"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=100 and stop_yn=0&searchField=short,zucode" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="id" field="id" width="0"></div>
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="short"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>


    <div class="col2" id="query_item_receive_dt">
        <table class="query_table">
            <tr>
                <td class="label">接单日期</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <input name="receive_dt" class="mini-datepicker" style="width:100%;" data="receive_dt_data" />
                </td>
                <td>
                    <input name="receive_dt_1" class="mini-datepicker" style="width:100%;" data="receive_dt_data" />
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col2" id="query_item_apply_dt">
        <table class="query_table">
            <tr>
                <td class="label" >报关日期</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <input name="apply_dt" class="mini-datepicker" style="width:100%;" data="apply_dt_data" />
                </td>
                <td>
                    <input name="apply_dt_1" class="mini-datepicker" style="width:100%;" data="apply_dt_data" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_shipper_no">
        <table class="query_table">
            <tr>
                <td class="label">收发货人</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="shipper_no" name="shipper_no" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="znamec" valuefield="zucode"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_companies&fieldnames=zucode,znamec&where= stop_yn=0&searchField=zucode,znamec" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="znamec"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="col2" id="query_item_pass_dt">
        <table class="query_table">
            <tr>
                <td class="label">放行日期</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <input name="pass_dt" class="mini-datepicker" style="width:100%;" data="pass_dt_data" />
                </td>
                <td>
                    <input name="pass_dt_1" class="mini-datepicker" style="width:100%;" data="pass_dt_data" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col2" id="query_item_end_dt">
        <table class="query_table">
            <tr>
                <td class="label">截关日期</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <input name="end_dt" class="mini-datepicker" style="width:100%;" data="end_dt_data" />
                </td>
                <td>
                    <input name="end_dt_1" class="mini-datepicker" style="width:100%;" data="end_dt_data" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_transport_way">
        <table class="query_table">
            <tr>
                <td class="label">海陆空</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <input name="transport_way" class="mini-combobox" style="width:100%;" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_kouanleixing' and value<>'-1'&searchField=name,value" textfield="name" valuefield="value"  />
                </td>
                
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_declare_id">
        <table class="query_table">
            <tr>
                <td class="label">进出口类型</td>
                <td class="exp" style="display: none">
                    <select>
                        
                        <option value="=">等于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <input name="declare_id" multiselect="true" class="mini-combobox" style="width:100%;" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_baoguanleixing' and value<>'-1'&searchField=name,value" textfield="name" valuefield="value" />
                </td>

            </tr>
        </table>
    </div>
    
</div>


<script type="text/javascript">

    function onCloseClick(e) {
        var obj = e.sender;
        obj.setText("");
        obj.setValue("");
    }

</script>
